package com.htu.lichen.config;

import com.htu.lichen.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: lichen
 * @Date: 12/28/20 7:59 PM
 */

@Configuration
public class BeanConfig {

    @Bean
    public IdWorker idWorker() {
        return new IdWorker();
    }

}
